package com.duoec.magichour.service;

import com.duoec.magichour.dto.response.ProductSimpleInfoDto;

import java.util.List;

/**
 * Created by ycoe on 17/6/26.
 */
public interface ProductService {
    List<ProductSimpleInfoDto> searchProducts(long userId, String keyword, int pageNo, int pageSize);

    /**
     * 通过商品ID获取商品基本信息
     * @param productIds
     * @return
     */
    List<ProductSimpleInfoDto> getSimpleInfoByIds(List<Long> productIds);
}
